/*
 ============================================================================
 Name		: BaseView.h
 Author	  : Zhang Jiawei
 Version	 : 1.0
 Copyright   : Your copyright notice
 Description : CBaseView declaration
 ============================================================================
 */

#ifndef BASEVIEW_H
#define BASEVIEW_H

// INCLUDES
#include <aknview.h>
#include "eStockappui.h"

// CONSTANTS
// UID of view
const TUid KeStockMainGridViewId = {0};
const TUid KeStockTransactionViewId = {1};

// FORWARD DECLARATIONS
class CBaseContainer;

// CLASS DECLARATION

class CBaseView: public CAknView
{
public:
    ~CBaseView();
    
    void ConstructL();
    
public: // Functions from base classes
    void HandleCommandL(TInt aCommand);

    void HandleClientRectChange();
    
public: // Data
    CBaseContainer* iContainer;    
    TInt iToolbarType;
};

#endif // BASEVIEW_H
